ExcludeMode

enum ExcludeMode : Enum<ExcludeMode>

Sets the mode to exclude a child view when converting a view group to an image.

Entries

Link copied to clipboard

Hides the child view by replacing all the space it occupies with the background color of the view, the image of the view keeps its original size.

Link copied to clipboard

Crops the image of the view vertically, deleting all the space occupied by the child view, so the resulting image will have a smaller height than the original view.

Link copied to clipboard

Crops the image of the view horizontally, deleting all the space occupied by the child view, so the resulting image will have a smaller width than the original view.

Link copied to clipboard

Crops the image of the view vertically and horizontally, deleting all the space occupied by the child view, so the resulting image will have a smaller height and width than the original view.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int